package com.dingli.framework.entity;

import io.swagger.annotations.ApiModelProperty;

public class Area {
    @ApiModelProperty("地域ID")
    private Long area_id;
    @ApiModelProperty("地域名称")
    private String area_name;
    @ApiModelProperty("父id")
    private Long parent_id;
    @ApiModelProperty("地域简称")
    private String short_name;
    @ApiModelProperty("地域等级")
    private Integer level_type;
    @ApiModelProperty("区域编码")
    private Integer city_code;
    @ApiModelProperty("邮政编码")
    private Integer zip_code;
    @ApiModelProperty("合并名称")
    private String merger_name;
    @ApiModelProperty("经度")
    private double longitude;
    @ApiModelProperty("纬度")
    private double latitude;
    @ApiModelProperty("名称拼音")
    private String pin_yin;

    @Override
    public String toString() {
        return "Area{" +
                "area_id=" + area_id +
                ", area_name='" + area_name + '\'' +
                ", parent_id=" + parent_id +
                ", short_name='" + short_name + '\'' +
                ", level_type=" + level_type +
                ", city_code=" + city_code +
                ", zip_code=" + zip_code +
                ", merger_name='" + merger_name + '\'' +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", pin_yin='" + pin_yin + '\'' +
                '}';
    }

    public Long getArea_id() {
        return area_id;
    }

    public void setArea_id(Long area_id) {
        this.area_id = area_id;
    }

    public String getArea_name() {
        return area_name;
    }

    public void setArea_name(String area_name) {
        this.area_name = area_name;
    }

    public Long getParent_id() {
        return parent_id;
    }

    public void setParent_id(Long parent_id) {
        this.parent_id = parent_id;
    }

    public String getShort_name() {
        return short_name;
    }

    public void setShort_name(String short_name) {
        this.short_name = short_name;
    }

    public Integer getLevel_type() {
        return level_type;
    }

    public void setLevel_type(Integer level_type) {
        this.level_type = level_type;
    }

    public Integer getCity_code() {
        return city_code;
    }

    public void setCity_code(Integer city_code) {
        this.city_code = city_code;
    }

    public Integer getZip_code() {
        return zip_code;
    }

    public void setZip_code(Integer zip_code) {
        this.zip_code = zip_code;
    }

    public String getMerger_name() {
        return merger_name;
    }

    public void setMerger_name(String merger_name) {
        this.merger_name = merger_name;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getPin_yin() {
        return pin_yin;
    }

    public void setPin_yin(String pin_yin) {
        this.pin_yin = pin_yin;
    }

    public Area(Long area_id, String area_name, Long parent_id, String short_name, Integer level_type, Integer city_code, Integer zip_code, String merger_name, double longitude, double latitude, String pin_yin) {
        this.area_id = area_id;
        this.area_name = area_name;
        this.parent_id = parent_id;
        this.short_name = short_name;
        this.level_type = level_type;
        this.city_code = city_code;
        this.zip_code = zip_code;
        this.merger_name = merger_name;
        this.longitude = longitude;
        this.latitude = latitude;
        this.pin_yin = pin_yin;
    }

    public Area() {
    }
}